package com.example.springbootdemo.study.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.springbootdemo.study.mapper.StudentMapper;
import com.example.springbootdemo.study.pojo.Student;
import com.example.springbootdemo.study.service.StudentService;
import jakarta.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {

    @Autowired
    private StudentMapper sMapper;

    @Override
    public Student getMessage(int id) {
        return sMapper.getMessage(id);
    }
}
